<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<?php  $data['leftnav']=3;$this->load->view('admin/header.html',$data)?>

<div id="dcMain">
    <!-- 当前位置 -->
    <div id="urHere">
        DouPHP 管理中心
        <b>></b>
        <strong>网站管理员</strong>
    </div>
    <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
        <h3>
            <a href="<?php echo site_url('admin/user/adduser')?>" class="actionBtn">添加管理员</a>网站管理员
        </h3>
        <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
            <tr>
                <th width="30" align="center">编号</th>
                <th align="left">管理员名称</th>
                
                <th align="center">操作</th>
            </tr>
            <?php foreach($userList as $userItem):?>
            <tr>
            	
                <td align="center"><?php echo $userItem->udi;?></td>
                <td><?php echo $userItem->uname;?></td>
                <td align="center">
                    <a href="<?php echo site_url('admin/user/edituser/'.$userItem->udi)?>">编辑</a>|
                    <a href="<?php echo site_url('admin/user/deluser/'.$userItem->udi)?>">删除</a>
                </td>
            </tr>
            <?php endforeach; ?>
        </table>
        <div class='page'>
        	<?php echo $links?>
        </div>
    </div>
</div>
